//
//  GZAlarmList.swift
//  GZMarathon
//
//  Created by apple on 2021/10/19.
//

import UIKit
import HandyJSON

class GZPagination: HandyJSON {
    var total: String = ""
    var total_pages: String = ""
    var offset: String = ""
    var per_page: String = ""
    var current_page: String = ""
    public required init(){}
}

class GZAlarmList: HandyJSON {
    var id: String = ""
    var alarm_uid: String = ""
    var parti_id: String = ""
    var alarm_name: String = ""
    var alarm_type: String = ""//告警类型，0 防疫告警，1 健康告警
    var alarmrule_id: String = ""
    var alarm_content: String = ""
    var alarm_level: String = ""
    var alarm_status: String = ""//状态，0未读，1已读
    var alarm_count: String = ""
    var alarm_lasttime: String = ""
    var parti_name: String = ""//告警人姓名
    var parti_phone: String = ""

    public required init(){}
}

class GZAlarmData: HandyJSON {
    
    var pagination: GZPagination = GZPagination()
    var data: [GZAlarmList] = []
    public required init(){}
}
